[INFO] cloning repository https://github.com/HazelTheWitch/sanctum
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HazelTheWitch/sanctum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHazelTheWitch%2Fsanctum", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHazelTheWitch%2Fsanctum'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83f1f3d4ac0847f8a31eda164dd62bea2387df85
[INFO] fixing HazelTheWitch/sanctum against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHazelTheWitch%2Fsanctum" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HazelTheWitch/sanctum
[INFO] finished tweaking git repo https://github.com/HazelTheWitch/sanctum
[INFO] tweaked toml for git repo https://github.com/HazelTheWitch/sanctum written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HazelTheWitch/sanctum on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HazelTheWitch/sanctum already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b
[INFO] running `Command { std: "docker" "start" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking noise v0.9.0
[INFO] [stderr]     Checking ordered-float v5.0.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking getrandom v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking ustr v1.1.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking rav1e v0.7.1
[INFO] [stderr]     Checking ravif v0.11.11
[INFO] [stderr]     Checking image v0.25.5
[INFO] [stderr]     Checking sanctum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl Iterator<Item = (usize, usize)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/pathfinding.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |     ) -> Option<impl Iterator<Item = (usize, usize)>> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/pathfinding.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/pathfinding.rs:270:15
[INFO] [stdout]     |
[INFO] [stdout] 270 |         cost: impl Fn((usize, usize), &Cell) -> Option<f64>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 266 ~     pub fn path_between<T: Fn((usize, usize), &Cell) -> Option<f64>>(
[INFO] [stdout] 267 |         &self,
[INFO] [stdout] 268 |         start: (usize, usize),
[INFO] [stdout] 269 |         end: (usize, usize),
[INFO] [stdout] 270 ~         cost: T,
[INFO] [stdout] 271 ~     ) -> Option<impl Iterator<Item = (usize, usize)> + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Iterator<Item = (usize, usize)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/pathfinding.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |     ) -> Option<impl Iterator<Item = (usize, usize)>> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/pathfinding.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/pathfinding.rs:270:15
[INFO] [stdout]     |
[INFO] [stdout] 270 |         cost: impl Fn((usize, usize), &Cell) -> Option<f64>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 266 ~     pub fn path_between<T: Fn((usize, usize), &Cell) -> Option<f64>>(
[INFO] [stdout] 267 |         &self,
[INFO] [stdout] 268 |         start: (usize, usize),
[INFO] [stdout] 269 |         end: (usize, usize),
[INFO] [stdout] 270 ~         cost: T,
[INFO] [stdout] 271 ~     ) -> Option<impl Iterator<Item = (usize, usize)> + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/lines.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/path.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/caves.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.80s
[INFO] [stderr] crater-edition-check: sanctum v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking sanctum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ustr`
[INFO] [stdout]   --> src/grid.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use ustr::{ustr, Ustr, UstrMap};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ustr`
[INFO] [stdout]   --> src/grid.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use ustr::{ustr, Ustr, UstrMap};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> src/pathfinding.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ordered_float::{Float, NotNan};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> src/pathfinding.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ordered_float::{Float, NotNan};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Instant`
[INFO] [stdout]  --> examples/caves.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{str::FromStr, time::Instant};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/lines.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut fractal = line(size / 4);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `usize`
[INFO] [stdout]  --> examples/path.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter::from_fn, str::FromStr, usize};
[INFO] [stdout]   |                                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FilterType` and `resize`
[INFO] [stdout]  --> examples/path.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::imageops::{resize, FilterType};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Constant`, `Max`, and `ScaleBias`
[INFO] [stdout]  --> examples/path.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use noise::{Constant, HybridMulti, Max, MultiFractal, ScaleBias, Simplex};
[INFO] [stdout]   |             ^^^^^^^^               ^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `grid` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> examples/path.rs:62:5
[INFO] [stdout]     |
[INFO] [stdout]  62 |       grid.place_many(
[INFO] [stdout]     |       ^    ---------- immutable borrow later used by call
[INFO] [stdout]     |  _____|
[INFO] [stdout]     | |
[INFO] [stdout]  63 | |         grid.path_between((0, 0), (size - 1, size - 1), |_, c: &Cell| {
[INFO] [stdout]     | |         ---- immutable borrow occurs here
[INFO] [stdout]  64 | |             match c.kind.as_str() {
[INFO] [stdout]  65 | |                 "E" | "D" => Some(100.0),
[INFO] [stdout] ...   |
[INFO] [stdout]  72 | |         &stamp,
[INFO] [stdout]  73 | |     );
[INFO] [stdout]     | |_____^ mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> examples/path.rs:63:9
[INFO] [stdout]     |
[INFO] [stdout]  63 | /         grid.path_between((0, 0), (size - 1, size - 1), |_, c: &Cell| {
[INFO] [stdout]  64 | |             match c.kind.as_str() {
[INFO] [stdout]  65 | |                 "E" | "D" => Some(100.0),
[INFO] [stdout]  66 | |                 _ => Some(1.0),
[INFO] [stdout]  67 | |             }
[INFO] [stdout]  68 | |         })
[INFO] [stdout]     | |__________^
[INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use</* Args */>`
[INFO] [stdout]    --> src/pathfinding.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |     ) -> Option<impl Iterator<Item = (usize, usize)>> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sanctum` (example "path") due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b", kill_on_drop: false }`
[INFO] [stdout] a48a65cca426f6cd8e86f6763b71597ca4f6d28f853419104b4e36ea5861140b
